package com.jiantong.work.service.yangzhibaoxian;

/**
 * Created by ThinkPad on 2017/9/5.
 */

import com.jiantong.work.model.yangzhibaoxian.InsuranceRetail;
import com.jiantong.work.model.yangzhibaoxian.InsuranceTemplate;
import io.terminus.common.model.Paging;
import io.terminus.common.model.Response;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 保险方案模板
 */

public interface InsuranceTemplateService {
    Response<InsuranceTemplate> findById(Long id);

    Response<List<InsuranceTemplate>> findByIds(List ids);

    Response<List<InsuranceTemplate>> list(Map map);

    Response<Paging<InsuranceTemplate>> ping(Integer offset, Integer limit, Map map);

    Boolean update(InsuranceTemplate insuranceTemplate);

    Long create(InsuranceTemplate insuranceTemplate);

    Integer creates(List<InsuranceTemplate> insuranceTemplateList);

}
